import request from '@/utils/request'

// 注册
export const RedirectAPI = ({username,password})=> request.post('users',{username,password}) 

// 登录
export const LoginAPI = ({username,password})=> request.post('tokens',{username,password})